package main
import(
	"fmt"
)

func main(){
	var age int8
	var name string
	var isMarried bool
	var sallary float32
	var isMarriedStr string
	fmt.Println("请输入你的名称，年龄，是否结婚和薪水")
	fmt.Scanf("%v %d %t %f",&name,&age,&isMarried,&sallary);
	fmt.Println(isMarried)
	if isMarried {
		isMarriedStr = "已婚"
	}else{
		isMarriedStr = "未婚"
	}
	fmt.Printf("姓名 %v，年龄%d，%v，月薪 %f",name,age,isMarriedStr,sallary)
}